﻿@model FantasyBlog.Models.AdminOptionModel
@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/_CPLayout.cshtml";
}
<body>
    <div id="icon-options-general" class="icon32">
        <br />
    </div>
    <h2>
        站点信息</h2>
    <form name="modifyform" id="modifyform" action="/AdminOption/Modify" method="post">
    <div>
        <fieldset>
            <table class="form-table">
                <tr valign="top">
                    <th scope="row">
                        @Html.LabelFor(m => m.SiteTitle)
                    </th>
                    <td>
                        @Html.EditorFor(m => m.SiteTitle)
                    </td>
                </tr>
                <tr valign="top">
                    <th scope="row">
                        @Html.LabelFor(m => m.SiteDescription)
                    </th>
                    <td>
                        @Html.EditorFor(m => m.SiteDescription)
                    </td>
                </tr>
                <tr valign="top">
                    <th scope="row">
                        @Html.LabelFor(m => m.SiteURL)
                    </th>
                    <td>
                        @Html.EditorFor(m => m.SiteURL)
                    </td>
                </tr>
                <tr valign="top">
                    <th scope="row">
                        @Html.LabelFor(m => m.SiteEMail)
                    </th>
                    <td>
                        @Html.EditorFor(m => m.SiteEMail)
                    </td>
                </tr>
                <tr valign="top">
                    <th scope="row">
                        @Html.LabelFor(m => m.SitePicture)
                    </th>
                    <td>
                        @Html.EditorFor(m => m.SitePicture)
                    </td>
                </tr>
                <tr valign="top">
                    <th scope="row">
                        @Html.LabelFor(m => m.PostPerPage)
                    </th>
                    <td>
                        @Html.EditorFor(m => m.PostPerPage)
                    </td>
                </tr>
                <tr valign="top">
                    <th scope="row">
                        <p class="submit">
                            <input type="submit" class="button-primary" value="保存更改" />
                        </p>
                    </th>
                </tr>
            </table>
        </fieldset>
    </div>
    </form>
</body>
